package com.jfinal.demo.interceptor;

import com.jfinal.aop.InterceptorStack;

/**
 * Title:ManagerInterceptor
 * Description:InterceptorStack 将多个Interceptor拦截器组合成为一个拦截器
 *
 * @version 2.0
 * @author: Yung Fu(FUYUNGCN AT GMAIL DOT com)
 * @since: 14-9-22 下午9:07
 */
public class ManagerInterceptor extends InterceptorStack {

    @Override
    public void config() {
        addInterceptors(new InterceptorA(), new InterceptorB());
    }
}
